home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / bsd / sys / ptrace.h < prev    next >
C/C++ Source or Header  |  1995-02-14  |  1KB  |  33 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1987 Carnegie-Mellon University
  4.  * All rights reserved.  The CMU software License Agreement specifies
  5.  * the terms and conditions for use and redistribution.
  6.  */
  7.  
  8. /*
  9.  * Copyright (c) 1980, 1986 Regents of the University of California.
  10.  * All rights reserved.  The Berkeley software License Agreement
  11.  * specifies the terms and conditions for redistribution.
  12.  *
  13.  *    @(#)ptrace.h    7.1 (Berkeley) 6/4/86
  14.  */
  15.  
  16. #ifndef _PTRACE_
  17. #define _PTRACE_
  18.  
  19. #define PT_TRACE_ME    0    /* child declares it's being traced */
  20. #define PT_READ_I    1    /* read word in child's I space */
  21. #define PT_READ_D    2    /* read word in child's D space */
  22. #define PT_READ_U    3    /* read word in child's user structure */
  23. #define PT_WRITE_I    4    /* write word in child's I space */
  24. #define PT_WRITE_D    5    /* write word in child's D space */
  25. #define PT_WRITE_U    6    /* write word in child's user structure */
  26. #define PT_CONTINUE    7    /* continue the child */
  27. #define PT_KILL        8    /* kill the child process */
  28. #define PT_STEP        9    /* single step the child */
  29. #define PT_ATTACH    10    /* attach to a running task */
  30. #define PT_DETACH    11    /* detach from a running task */
  31.  
  32. #endif    _PTRACE_
  33.